/*
package com.zzz.springbootdemo.elasticsearch.vo;

import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
@Document(indexName = "userindex",type = "user")
public class User implements Serializable {
    private static final long serialVersionUID = -7641220819884662488L;
    private long id;
    private  String name ;
    private String age;
    private String detail;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}
*/
